package com.zhw.mybatis.mapping;

public class MappedStatement {

    private String id;

    private String sql;

    private  Class resultType;

    public MappedStatement() {
    }

    public MappedStatement(String id, String sql, Class resultType) {
        this.id = id;
        this.sql = sql;
        this.resultType = resultType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public Class getResultType() {
        return resultType;
    }

    public void setResultType(Class resultType) {
        this.resultType = resultType;
    }

    @Override
    public String toString() {
        return "MappedStatement{" +
                "id='" + id + '\'' +
                ", sql='" + sql + '\'' +
                ", resultType=" + resultType +
                '}';
    }
}
